l = range(9)
print (l[-10:])
print ((l[8:-10:-1]))

s = "01234"
print (s[-6:0])
print (s[-6:])
print (s[-6:-3])
print (s[-6:20])

print (l[4])
print (l[-1])
l[None] = 4
